set(jamusSrcs main.cpp PluginManager.cpp Track.cpp NoCurrentTrackException.cpp InvalidPlaybackStateException.cpp)
add_executable (jamus ${jamusSrcs})
target_link_libraries (jamus dl ${LOG4CXX_LIBRARIES} ${Boost_LIBRARIES} ${QTDBUS_LIB})
include(${QT_USE_FILE})

configure_file(config.h.in config.h ESCAPE_QUOTES)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

install(TARGETS jamus RUNTIME DESTINATION ${binDirectory})

add_subdirectory (frontend)
add_subdirectory (backend)
